package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Staff;
import cn.wolfcode.crm.query.StaffQueryObject;

import java.util.List;

public interface StaffMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Staff record);

    Staff selectByPrimaryKey(Long id);

    List<Staff> selectAll();

    int updateByPrimaryKey(Staff record);

    int queryForCount(StaffQueryObject qo);

    List<?> queryForList(StaffQueryObject qo);

}